interface params {
  name:string
}

let user: params = {
  name: "SOngyu"
}

class my{
  name: string;
  constructor(user) {
    this.name = user.name;
  }
}
new my(user)